package com.itboyst.facedemo.mapper;

import com.itboyst.facedemo.domain.UserFaceInfo;
import com.itboyst.facedemo.dto.FaceUserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface MybatisUserFaceInfoMapper {

    List<UserFaceInfo> findUserFaceInfoList();

    void insertUserFaceInfo(UserFaceInfo userFaceInfo);

    //引擎
    List<FaceUserInfo> getUserFaceInfoByGroupId(Integer groupId);
    //设备端联网提交用餐记录
    void insertEatRecord(UserFaceInfo userFaceInfo);

    //设备查询特征值
    List<UserFaceInfo> selectFacefeature();

    //服务端批量删除人脸识别信息
    int deleteFaceInfoByIds(Long[] ids);

    //服务端删除人脸识别信息
    int deleteFaceInfoById(Long[] id);

    //小程序根据用户名字查询该用户是否注册成功
    List<UserFaceInfo> selectRegistSuccess();

}
